import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "animate.css";
import 'swiper/swiper.min.css';
// 视频播放插件
import VideoPlayer from "vue-video-player";
require("video.js/dist/video-js.css");
require("vue-video-player/src/custom-theme.css");
Vue.use(VideoPlayer);
window.addEventListener(
  "mousewheel",
  function(event) {
    if (event.ctrlKey === true || event.metaKey) {
      event.preventDefault();
    }
  }, 
  { passive: false }
);

import echarts from "echarts";
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
